<%--
  Created by IntelliJ IDEA.
  User: 61003
  Date: 2023/3/2
  Time: 16:29
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
    <title></title>
    <link rel="stylesheet" href="/css/bootstrap.min.css">
    <link rel="stylesheet" href="/css/bootstrap-theme.min.css">
    <script src="/js/jquery-1.12.4.min.js"></script>
    <script src="/js/bootstrap.min.js"></script>
</head>
<body>
<h3>${requestScope.dinner_table.table_name} 正在添加</h3>
<form action="/dinner_table" method="post">
    <input type="hidden" name="table_id" value="${dinner_table.table_id}">
    <div  class="form-group">
        <label>table_id</label>
        <span>${dinner_table.table_id}</span>
    </div>
    <div class="form-group">
        <label>table_name</label>
        <input name="table_name" value="${dinner_table.table_name}">
    </div>
    <div class="form-group">
        <label>table_status</label>
        <input name="table_status" value="${dinner_table.table_status}">
    </div>
    <div class="form-group">
        <label>reservation_time</label>
        <input name="reservation_time" value="${dinner_table.reservation_time}">
    </div>
    <div class="checkbox">
        <button>提交</button>
    </div>
</form>
<c:if test="${requestScope.error != null}">
    <div style="color: red">${requestScope.error}</div>
</c:if>

</body>
</html>
